home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww - Draws a Motif-style, three-
- dimensional shadow around a polygon
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/DrawP.h>
- vvvvooooiiiidddd XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww(
- DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,
- DDDDrrrraaaawwwwaaaabbbblllleeee ddddrrrraaaawwwwaaaabbbblllleeee,
- GGGGCCCC ttttoooopppp____ggggcccc,
- GGGGCCCC bbbboooottttttttoooommmm____ggggcccc,
- XXXXPPPPooooiiiinnnntttt ****ppppooooiiiinnnnttttssss,
- iiiinnnntttt ppppooooiiiinnnntttt____ccccoooouuuunnnntttt,
- DDDDiiiimmmmeeeennnnssssiiiioooonnnn sssshhhhaaaaddddoooowwww____tttthhhhiiiicccckkkknnnneeeessssssss,
- uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr sssshhhhaaaaddddoooowwww____ttttyyyyppppeeee);
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents Motif 2.1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww places a Motif-style shadow around a
- drawn polygon or around a polygon-shaped widget.
-
- _d_i_s_p_l_a_y Specifies the display on which _d_r_a_w_a_b_l_e is
- rendered.
-
- _d_r_a_w_a_b_l_e Specifies the drawable (typically, a widget
- window) around which the shadow will be drawn.
-
- _t_o_p__g_c Specifies the graphics context for the shadows
- appearing on the upper-left portions of the
- polygon.
-
- _b_o_t_t_o_m__g_c Specifies the graphics context for the shadows
- appearing on the bottom-right portions of the
- polygon.
-
- _p_o_i_n_t_s Specifies the coordinates of each point in the
- bounding polygon.
-
- _p_o_i_n_t__c_o_u_n_t
- Specifies the number of points in the bounding
- polygon.
-
- _s_h_a_d_o_w__t_h_i_c_k_n_e_s_s
- Specifies the shadow thickness, in pixels.
-
- _s_h_a_d_o_w__t_y_p_e
- Specifies the kind of shadow to render. The
- possible values are as follows:
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____IIIINNNN
-
-
-
- Page 1 (printed 4/6/01)
-
-
-
-
-
-
- XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww((((3333XXXX))))
-
-
-
- Draws a shadow so that it appears inset.
- This means that the bottom shadow
- visuals and top shadow visuals are
- reversed.
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____OOOOUUUUTTTT
- Draws a shadow so that it appears
- outset.
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____EEEETTTTCCCCHHHHEEEEDDDD____IIIINNNN
- Draws a shadow using a double line
- giving the effect of a line etched into
- the window. The thickness of the double
- line is equal to the value of
- _s_h_a_d_o_w__t_h_i_c_k.
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____EEEETTTTCCCCHHHHEEEEDDDD____OOOOUUUUTTTT
- Draws a frame by using a double line to
- give the effect of a line coming out of
- the window. The thickness of the double
- line is equal to the value of
- _s_h_a_d_o_w__t_h_i_c_k.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD
- XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/6/01)
-
-
-
-